package com.example.annotationdemo.annotation;

import com.example.annotationdemo.enums.BusinessEnum;

import java.lang.annotation.*;

/**
 * @author kw
 * @program annotation-demo
 * @description 业务注解
 * @create 2024 - 05 - 19 16:07
 **/
@Target({ElementType.TYPE, ElementType.FIELD, ElementType.METHOD})
@Documented
@Retention(RetentionPolicy.RUNTIME)
public @interface BusinessAnnotation {

    boolean open() default true;

    BusinessEnum businessType();
}
